package com.yumeno.education.dao;

import com.yumeno.education.entity.Student;
import com.yumeno.education.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TeacherDao {
    @Select(value = "SELECT * " +
            "FROM teacher  " +
            "WHERE teacher.username = #{username} ")
    Teacher selectByUsername(String username);
}
